package it.traveldream.utils;

import it.traveldream.dto.HotelDTO.HotelRoomType;

/**
 * @see Reservation
 *
 */
public class BookedRoomDescriptor {
	
	private int hotelId;
	private HotelRoomType type;
	private int totalRooms;
	private int bookedRooms;
	
	public BookedRoomDescriptor(int hotelId, String type, 
			int totalRooms, int bookedRooms){
		this.hotelId = hotelId;
		this.type = Enum.valueOf(HotelRoomType.class, type);
		this.totalRooms = totalRooms;
		this.bookedRooms = bookedRooms;
	}

	public int getHotelId() {
		return this.hotelId;
	}

	public HotelRoomType getType() {
		return this.type;
	}

	public int getTotalRooms() {
		return this.totalRooms;
	}

	public int getBookedRooms() {
		return this.bookedRooms;
	}
	
	
}
